package com.poet.jz.service;

import com.poet.jz.bean.Category;
import com.poet.jz.bean.extend.CategoryExtend;

import java.util.List;

public interface ICategoryService {

    List<Category> findAll();

    void saveOrUpdate(Category category);

    void deleteById(long id);
    /**
     * 查询栏目树
     * @return
     */
    List<CategoryExtend> findCategoryTree();
}
